module.exports = [
  {
    key: 'phone',
    title: '手机号',
    dataType: 'varchar',
  },
  {
    key: 'id',
    title: '编号',
    dataType: 'int',
    primary: true,
    colSpan: 0,
    render: (text, row, index) => {
     return {
      children: {text},
      props: {
        colSpan: 0,
      },
    };
    }
  },
  {
    key: 'username',
    title: '用户昵称',
    dataType: 'varchar',
  },
  {
    key: 'realname',
    title: '用户名字',
    dataType: 'varchar',
  },
  {
    key: 'email',
    title: '邮箱地址',
    dataType: 'varchar',
  },
  {
    key: 'status',
    title: '账户状态',
    dataType: 'accountStaSelect',
    render: (text, row, index) => {
      if (text == "enabled") {
        return "可用";
      } else {
        return "不可用";
      }
    }
  }
];
